package org.dynamicproxy;

/**
 *
 * Created by chinalin on 2017/3/17.
 */
public class Test {
    public static void main(String[] args) {
        Hello hello = new HelloImpl() ;
        DynamicProxy dynamicProxy = new DynamicProxy(hello) ;
        Hello helloProxy = dynamicProxy.getProxy();
        helloProxy.say("jack");
    }
}
